<!-- page content -->
<div class="right_col" role="main">
    <div class="">
        <div class="page-title">
            <div class="title_left">
                <h3>
                    Thymeleaf Index Page
                </h3>
            </div>
        </div>

        <div class="clearfix"></div>
        <h3>Hello World!!!</h3>

        <h6>====== 下载图片 ======</h6>
        <a href="/test/file?fileName=bronya布洛妮娅.jpg">下载</a>


        <h6>====== 上传图片 ======</h6>
        <p th:text="${message}"></p>
        <form action="/test/file" method="post" enctype="multipart/form-data">
            <input type="file" name="file" />
            <input type="submit" value="上传" />
        </form>


        <h6>====== th:text ======</h6>
        <span th:text="${name}"></span>

        <h6>====== th:if,th:unless ======</h6>
        <p th:if="${checked} == true">Young people</p>
        <!-- 下句如果后面表达式为false显示 -->
        <p th:unless="${checked} == false">Young people</p>
        <p th:if="${currentNumber}&lt;100">小于100</p>
        <p th:if="${thymeleafTitle} == null">Title is null</p>
        <p th:if="${thymeleafTitle} != null">Title is not null</p>

        <h6>====== 标签属性的设置 ======</h6>
        <input type="checkbox" th:checked="${checked}">Checkbox
        <img th:src="${src}">
        <a th:href="${href}">bilibili</a>

        <h6>====== th:replace ======</h6>
        <div th:replace="test/temp"></div>
    </div>
</div>
<!-- /page content -->